package com.yang.innercallback.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Billyang
 * @date 2024/9/20 17:58
 */
@Data
@Component
@ConfigurationProperties(prefix = "innercallback")
public class InnerCallbackConfig {

    private Integer defaultIncreaseSeconds = 2; // 增量秒数，默认2s

    private Integer defaultMaxFailTimes = 3;// 最大失败次数，默认10次

}
